set(exename exe_adapter)
set(in_libname printBanner_Inherent)
set(de_libname printBanner_Delegate)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/headers)

add_library(${in_libname} SHARED 
    impl_inherent.cpp
)
add_library(${de_libname} SHARED
    impl_delegate.cpp
)

add_executable(${exename} main.cpp)
target_link_libraries(${exename} PUBLIC ${in_libname})
target_link_libraries(${exename} PUBLIC ${de_libname})